]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Make run-eslint more convenient for local use
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Sep 2019 15:09:04 +0000 (17:09 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 16 Oct 2019 15:37:12 +0000 (15:37 +0000)
commitd12cd12e1b8428c669c013036f6617c81f7477b7
tree4f4b9ffd2a6c5384e103341621ce8db3d77f36ff
parentcaa50dc1a3e6a3772318f892c011821f0f89ad79
ci: Make run-eslint more convenient for local use

The script can be helpful outside of CI, in particular for gradually
transitioning to the new style.

Reverting commit f00201fa6ca it is already possible to do something
like

 $ CI_MERGE_REQUEST_PROJECT_URL=https://gitlab.gnome.org/GNOME/gnome-shell \
   CI_MERGE_REQUEST_TARGET_BRANCH_NAME=master CI_COMMIT_SHA=HEAD \
   .gitlab-ci/run-eslint.sh

but that is hardly convenient.

Instead, allow passing the required parameters on the command line:

 $ .gitlab-ci/run-eslint.sh origin master

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/730
.gitlab-ci/run-eslint.sh